package persistence;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Set;


/**
 * The persistent class for the Assests database table.
 * 
 */
@Entity
@Table(name="Assests")
public class Assest implements Serializable {
	private static final long serialVersionUID = 1L;
	private int idAssests;
	private String aumType;
	private Set<Firm_has_Assest> firmHasAssests;

    public Assest() {
    }


	@Id
	public int getIdAssests() {
		return this.idAssests;
	}

	public void setIdAssests(int idAssests) {
		this.idAssests = idAssests;
	}


	public String getAumType() {
		return this.aumType;
	}

	public void setAumType(String aumType) {
		this.aumType = aumType;
	}


	//bi-directional many-to-one association to Firm_has_Assest
	@OneToMany(mappedBy="assest")
	public Set<Firm_has_Assest> getFirmHasAssests() {
		return this.firmHasAssests;
	}

	public void setFirmHasAssests(Set<Firm_has_Assest> firmHasAssests) {
		this.firmHasAssests = firmHasAssests;
	}
	
}